package cn.hfjava.kz.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;

/**
 * 角色权限关联表
 *
 * @TableName role_perms
 */
@TableName(value = "role_perms")
@Data
@Tag(name = "角色权限关联表", description = "")
public class RolePerm implements Serializable {
    /**
     * 角色编号
     */
    @Schema(name = "角色编号", description = "")
//    @TableId(value = "roleId")
    private Integer roleId;

    /**
     * 权限编号
     */
    @Schema(name = "权限编号", description = "")
//    @TableId(value = "permId")
    private Integer permId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
